package com.scoring.system.pojo;

public class Achievement {
    private Integer id;
    
    private Integer classId;

    private Integer studentId;

    private Integer courseId;

    private String score;

    private String type;
    
    private String term;

    private Boolean isDeleted;
    
    private Classes clazz;
    
    private Student student;
    
    private Course course;

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public Integer getStudentId() {
        return studentId;
    }

    public void setStudentId(Integer studentId) {
        this.studentId = studentId;
    }

    public Integer getCourseId() {
        return courseId;
    }

    public void setCourseId(Integer courseId) {
        this.courseId = courseId;
    }

    public String getScore() {
        return score;
    }

    public void setScore(String score) {
        this.score = score == null ? null : score.trim();
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type == null ? null : type.trim();
    }
    

    public String getTerm() {
		return term;
	}

	public void setTerm(String term) {
		this.term = term;
	}

	public Boolean getIsDeleted() {
        return isDeleted;
    }

    public void setIsDeleted(Boolean isDeleted) {
        this.isDeleted = isDeleted;
    }

	public Student getStudent() {
		return student;
	}

	public void setStudent(Student student) {
		this.student = student;
	}

	public Course getCourse() {
		return course;
	}

	public void setCourse(Course course) {
		this.course = course;
	}

	public Integer getClassId() {
		return classId;
	}

	public void setClassId(Integer classId) {
		this.classId = classId;
	}

	public Classes getClazz() {
		return clazz;
	}

	public void setClazz(Classes clazz) {
		this.clazz = clazz;
	}

	@Override
	public String toString() {
		return "Achievement [id=" + id + ", classId=" + classId + ", studentId=" + studentId + ", courseId=" + courseId
				+ ", score=" + score + ", type=" + type + ", term=" + term + ", isDeleted=" + isDeleted + ", clazz="
				+ clazz + ", student=" + student + "]";
	}
	
    
}